package com.zh.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.zh.system.domain.entity.SysMsgFrom;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel("消息vo")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MessageVo extends SysMsgFrom implements Serializable {
    @ApiModelProperty("接收者Id")
    private Long toId;
    @ApiModelProperty("1未读0已读")
    private Short confirmed;
    @ApiModelProperty("确认时间")
    private LocalDateTime confirmTime;

}
